package com.example.jurisdiction.Mapper;

import entity.sys_user_info;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
	public int addUser(sys_user_info u) throws Exception;
	public int updateUser(sys_user_info u)throws Exception;
	public int delUser(int id) throws Exception;
	public sys_user_info getUser(int id) throws Exception;
	public List<sys_user_info> select(String name) throws Exception;

	public List<sys_user_info> getSysUser() throws Exception;

	public sys_user_info login(sys_user_info s)throws Exception;

}
